﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Action.aspx.cs" Inherits="System_Action_Action" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<form id="pagerForm" method="post" action="Menu/MenuList.aspx?rel=<%= rel%>">
    <input type="hidden" name="status" value="status" />
    <input type="hidden" name="keywords" value="keywords" />
    <input type="hidden" name="numPerPage" value="<% =NumPerPage %>" />
    <input type="hidden" name="pageNum" value="<%=PageNum%>" />
    <input type="hidden" name="orderField" value="" />
    </form>
    
    <div class="pageContent" >
        <div class="panelBar">
            <ul class="toolBar">
                <li><a class="add" href="Action/ActionAdd.aspx?rel=<%= rel%>" target="dialog"><span>添加</span></a></li>
                <%--<li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids"  posttype="string" href="Ajax/Menu.ashx"
                    class="delete"><span>批量删除默认方式</span></a></li>--%>
                <li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" posttype="string" href="Ajax/Menu.ashx?title=delete&rel=<%= rel%>"
                    class="delete"><span>批量删除逗号分隔</span></a></li>
                <%--<li><a class="edit" href="demo_page4.html?uid={sid_user}" target="navTab" warn="请选择一个用户">
                    <span>修改</span></a></li>--%>
                <li class="line">line</li>
               <%-- <li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targettype="navTab"
                    title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>--%>
            </ul>
        </div>
        <table class="table" width="1200" layouth="75">
            <thead>
                <tr>
                    <th width="26">
                        <input type="checkbox" group="ids" class="checkboxCtrl">
                    </th>
                    <th width="120" orderfield="accountNo" class="asc">
                        ID
                    </th>
                    <th orderfield="accountName">
                         权限名称
                    </th>
                    <th width="80" orderfield="accountType">
                        权限标签
                    </th>
                    <th width="130" orderfield="accountCert">
                        说名
                    </th>
                    <th width="60" align="center" orderfield="accountLevel">
                        排序
                    </th>
                    <th width="115">
                        操作
                    </th>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="RepeaterTr" runat="server">
                    <ItemTemplate>
                        <tr target="sid_user" rel="1">
                            <td>
                                <input name="ids" value="<%#Eval("ID") %>" type="checkbox">
                            </td>
                            <td>
                                <%#Eval("ID") %>
                            </td>
                            <td>
                                <%#Eval("AcitonName")%>
                            </td>
                            <td>
                                <%#Eval("AcitonTag")%>
                            </td>
                            <td>
                                <%#Eval("ActionDescription")%>
                            </td>
                            <td>
                                <%#Eval("OrderBy")%>
                            </td>
                            <td>  <a title="<%#Eval("AcitonName")%>-编辑" target="dialog" href="Menu/MenuEdit.aspx?id=<%#Eval("ID") %>&rel=<%= rel%>" class="btnEdit" rel="dialogedit<%#Eval("ID") %>">编辑</a>
                                <a title="删除" target="ajaxTodo" href="Ajax/Menu.ashx?title=delete&ids=<%#Eval("ID") %>&rel=<%= rel%>" class="btnDel">
                                    删除</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
        <div class="panelBar">
            <div class="pages">
                <span>显示</span>
                <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value}),'<%=rel %>'">
                <option value="<%=NumPerPage%>">选择</option>
                    <option value="20">20</option>
                    <option value="50">50</option>
                    <option value="100">100</option>
                    <option value="200">200</option>
                </select>
                <span>条，共<%=TotalCount%>条</span>
            </div>
            <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=NumPerPage%>" pagenumshown="<%=PageNumShown%>"
                currentpage="<%=PageNum%>">
            </div>
        </div>
    </div>
</body>
</html>
